﻿using System;
using System.Linq;
using System.Activities;
using System.Activities.Statements;
using System.ServiceModel.Description;
using System.ServiceModel;
using System.Collections.Generic;

namespace MyTestWF
{

    class Program
    {
        static void Main(string[] args)
        {
            IDictionary<string, object> _d = new Dictionary<string, object>(){{"userArgument",5}};    
            _d = WorkflowInvoker.Invoke(new Workflow1(),_d);
            Int32 outPut = (Int32)_d["OutputValue"];

        }
    }
}